package oop3;

public class TestPhone3 {

    public static void main(String[] args) {
        Phone phone = new Phone();
        System.out.println(phone.pinpai);
        phone.pinpai="OPPO";
        System.out.println(phone.pinpai);
        Phone phone2=phone;
        System.out.println(phone2.pinpai);
        phone2.pinpai="VIVO";
        System.out.println(phone2.pinpai);
        System.out.println(phone.pinpai);


        phone=null;
        phone2=null;


    }
}
